#include <QtGui/QApplication>
#include <QTextCodec>
#include "mainwindow.h"
#include "serverwin.h"
#include <Board.h>
#include <Position.h>
#include <Snake.h>
int main(int argc, char *argv[])
{
    QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8")); //utf encoding for polish chars
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
    QApplication a(argc, argv);    
    //ServerWin w;
    MainWindow w;

    w.show();

    return a.exec();
}
